unit Splash;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, jpeg, ExtCtrls, biblio, StdCtrls;

type
  TFrmSplash = class(TForm)
    Image1: TImage;
    Label1: TLabel;
    Label2: TLabel;
    procedure FormActivate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  FrmSplash: TFrmSplash;

implementation

{$R *.dfm}

{colocar na biblio

procedure Contar(ms : longint);
var OTempo : LongInt;
begin
  OTempo := GetTickCount + ms;
  while GetTickCount < OTempo do
   Application.ProcessMessages;
end;

*************************

colocar no projeto abaixo do Application.Initialize;

  FrmSplash := TFrmSplash.Create(Application);
  FrmSplash.show;

*************************

colocar no onshow do menu

  FrmSplash.Free;
}


procedure TFrmSplash.FormActivate(Sender: TObject);
begin
  contar(500);
end;

end.
